package io.github.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.util.Date;

/**
 * @author Max
 * <br>
 * date 2019/12/27 15:54
 */

@TableName("user_info")
public class ExtensionEntity {

    @TableId(type= IdType.AUTO)
    private Long id;

    @TableField
    private String number;

    @TableField
    private String unconditionalTransfer;

    @TableField
    private String unreplyTransfer;

    @TableField
    private String busyTransfer;

    @TableField
    private String dndTransfer;

    @TableField
    private Integer count =2;

    @TableField
    private Date clockTime;

    @TableField
    private Long answerGroup;

    @TableField
    private Boolean recordSound = false;

    @TableField
    private Integer auth = 1;

    @TableField
    private Date createTime;

    @TableField
    private String password;

    @TableField(exist = false)
    private String groupName;

    @TableField(exist = false)
    private Boolean status;

    @TableField
    private String displayCaller;

    @TableField
    private String ip="0";

    @TableField
    private String groupNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUnconditionalTransfer() {
        return unconditionalTransfer;
    }

    public void setUnconditionalTransfer(String unconditionalTransfer) {
        this.unconditionalTransfer = unconditionalTransfer;
    }

    public String getUnreplyTransfer() {
        return unreplyTransfer;
    }

    public void setUnreplyTransfer(String unreplyTransfer) {
        this.unreplyTransfer = unreplyTransfer;
    }

    public String getDndTransfer() {
        return dndTransfer;
    }

    public void setDndTransfer(String dndTransfer) {
        this.dndTransfer = dndTransfer;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Date getClockTime() {
        return clockTime;
    }

    public void setClockTime(Date clockTime) {
        this.clockTime = clockTime;
    }

    public Long getAnswerGroup() {
        return answerGroup;
    }

    public void setAnswerGroup(Long answerGroup) {
        this.answerGroup = answerGroup;
    }

    public Boolean getRecordSound() {
        return recordSound;
    }

    public void setRecordSound(Boolean recordSound) {
        this.recordSound = recordSound;
    }

    public Integer getAuth() {
        return auth;
    }

    public void setAuth(Integer auth) {
        this.auth = auth;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGroupName() {
        return groupName;
    }

    public String getDisplayCaller() {
        return displayCaller;
    }

    public void setDisplayCaller(String displayCaller) {
        this.displayCaller = displayCaller;
    }

    public String getBusyTransfer() {
        return busyTransfer;
    }

    public void setBusyTransfer(String busyTransfer) {
        this.busyTransfer = busyTransfer;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }
}